package descriptor;

import java.io.Serializable;

public class CityDescriptor implements Serializable
{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int id = 0;
	private String name = "";
	private String country = "";
	private CompaniesListDescriptor compDes = new CompaniesListDescriptor();
	private int countryId = 0;
	
	public CityDescriptor(){
		
	}

	public CityDescriptor(int id, String name, String country,int countryId,CompaniesListDescriptor compDes)
	{
		this.id = id;
		this.name = name;
		this.country = country;
		this.compDes = compDes;
		this.countryId = countryId;
	}
	
	public int getID()
	{
		return id;
	}
	
	public String getName()
	{
		return name;
	}
	
	public String getCountry()
	{
		return country;
	}
	
	public CompaniesListDescriptor getCompanies()
	{
		return compDes;
	}

	public int getCountryId() {
		return countryId;
	}

	public void setCountryId(int countryId) {
		this.countryId = countryId;
	}
}
